package cls.inner;

/**
 * @author mubei
 * @date 2021/12/21
 * @description
 */
public class StaticInnerClass {

    public static void main(String[] args) {

        Outer04.Inner04.say();

        // 直接创建
        Outer04.Inner04 inner04 = new Outer04.Inner04();



    }
}

class Outer04 {
    private int n = 10;
    private static  int age = 18;
    /*
    *
    * */
    static class Inner04 {
        public static void say() {
            System.out.println("我只能访问静态的成员"+age);
        }
    }
}
